package io.finer.erp.jeecg.bas.service;

import io.finer.erp.jeecg.bas.dto.PfMaterialDTO;
import io.finer.erp.jeecg.bas.entity.BasPfMaterial;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

import org.jeecg.common.api.vo.Result;

/**
 * @Description: 产品配方详情表
 * @Author: jeecg-boot
 * @Date:   2020-10-19
 * @Version: V1.0
 */
public interface IBasPfMaterialService extends IService<BasPfMaterial> {

	public List<BasPfMaterial> selectByMainId(String mainId);

	/**
	 * @Description 获取配方详情
	 * @param pfId
	 * @return
	 * Create at: 2020-12-22 15:51:11
	 * @author: duany
	 * Revision:
	 *    2020-12-22 15:51:11 - first revision by duany
	 *        
	 */
	public Result<List<PfMaterialDTO>> getPfInfo(String pfId);
}
